Skip to main content

Wordpress Install on Windows

Wordpress Install on Windows

How to Install Wordpress + Caddy Natively on Windows

Downloads

NSSM

Wordpress

PHP 7.4

MAKE SURE YOU DOWNLOAD THE RC (RELIABLE CHANNEL) MSI RUN THE GUI MSI Installer MariaDB

Setting Up PHP 7.X

  1. Create a Directory in your C:\ for Tools IE. C:\Tools

  2. Create two subdirectories in Tools 2.1 NSSM 2.2 php

  3. Extract php-7.xx insides to another directory

  4. Extract NSSM.exe from

    \nssm-2.24\win64

    to

    C:\Tools\NSSM

ie. C:\Tools\php

Add it to the enviroment variable paths

  1. Search Advanced System Settings

image

  1. Select Enviroment Variables

image

  1. Select System Variables Path by double clicking

image

  1. Add a New Path and type
C:\Tools\php
  1. Add another new path this time for NSSM
C:\Tools\NSSM
  1. Select OK
  2. Select OK again
  3. Then Select OK to cloe the systemp properties box
  4. Close all Powershells and Terminal Windows So these settings Save

Uncomment These Settings IE. Removing # from before each line You can Search in Your Text Editor by Clicking CTRL+ F

*PHP.ini Settings*

Navigate to the “increase memory_limit” line in the file and change the value from 128M to 512MB.
The next step is to uncomment the following lines by removing ‘;’ before the lines. For example the “;extionsion_dir=ext” should become “extionsion_dir = ext”.
Similarly uncomment the following lines by removing ‘;’ from the beginning of the line.

extension=bz2
extension=curl
extension=ffi
extension=fileinfo
extension=gd2
extension=gettext
extension=gmp
extension=intl
extension=mbstring
extension=exif
extension=mysqli
extension=odbc
extension=openssl
extension=pdo_mysql
extension=pdo_odbc
extension=pdo_sqlite

Setting up PHP-CGI

  1. Open up an Administrative Powershell.
  2. type inside that powershell
NSSM install PHP
  1. Add to Path

    3.1

    C:\Tools\php\php-cgi.exe

    Add to Startup Dirctory

    3.2

    C:\Tools\php

    Add to Argument

    3.3

    -b 127.0.0.1:9000
  2. Click Save

  3. Start the Service

    nssm Start php

"Buy Me A Coffee"